home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Q-R
/
Restaurants.cpt
/
Restaurants
/
background_3478.txt
< prev
next >
Wrap
Text File
|
1987-12-20
|
12KB
|
554 lines
-- background: 3478 from stack: in
-- bmap block id: 14485
-- flags: 4000
-- background id: 0
-- name: American
----- HyperTalk script -----
on openBackground
push recent card
end openBackground
on NewCard
set the lockScreen to true
doMenu "New Button"
set name of button "New Button" to "¢"
set style of button ¢ to checkBox
set rect of button ¢ to 37,313,65,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to TRUE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button ¢ to buttonScript
show button ¢
doMenu "New Button"
set name of button "New Button" to "$"
set style of button $ to checkBox
set rect of button $ to 81,313,109,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to TRUE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button $ to buttonScript
show button $
doMenu "New Button"
set name of button "New Button" to "$$"
set style of button "$$" to checkBox
set rect of button "$$" to 125,313,160,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to TRUE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button "$$" to buttonScript
show button "$$"
doMenu "New Button"
set name of button "New Button" to "$$$"
set style of button "$$$" to checkBox
set rect of button "$$$" to 176,313,217,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to TRUE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button "$$$" to buttonScript
show button "$$$"
choose browse tool
global AmericanNumber
add 1 to AmericanNumber
end NewCard
on CutCard
global AmericanNumber
subtract 1 from AmericanNumber
end CutCard
on DeleteCard
global AmericanNumber
subtract 1 from AmericanNumber
end DeleteCard
-- part 17 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=20 top=147 right=311 bottom=224
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 18 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=171 right=220 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name:
-- part 21 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=222 right=278 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name:
-- part 22 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=280 right=300 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name:
-- part 24 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=419 top=299 right=324 bottom=443
-- title width / last selected line: 0
-- icon id / first selected line: 15420 / 15420
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev
----- HyperTalk script -----
on mouseUp
visual effect wipe right
go to previous card
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=443 top=299 right=324 bottom=465
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
visual effect wipe left
go to next card
end mouseUp
-- part 27 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=467 top=299 right=326 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 6720 / 6720
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
visual effect iris close
go to first card
end mouseUp
-- part 28 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=235 top=300 right=329 bottom=267
-- title width / last selected line: 0
-- icon id / first selected line: 21847 / 21847
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go Home
end mouseUp
-- part 29 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=21 top=63 right=150 bottom=145
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Wine Glass
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to card id 3672
end mouseUp
-- part 30 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=326 top=48 right=65 bottom=395
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Seafood
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Seafood"
end mouseUp
-- part 31 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=246 top=56 right=72 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Mexican
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Mexican"
end mouseUp
-- part 32 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=412 top=42 right=59 bottom=477
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Thai
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Thai"
end mouseUp
-- part 33 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=411 top=63 right=80 bottom=479
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Japanese
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Japanese"
end mouseUp
-- part 34 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=328 top=70 right=87 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Italian
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Italian"
end mouseUp
-- part 35 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=246 top=77 right=93 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Indian
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to card id 12153first card of background "Indian"
end mouseUp
-- part 36 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=412 top=84 right=101 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: German
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "German"
end mouseUp
-- part 37 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=327 top=91 right=107 bottom=395
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: French
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "French"
end mouseUp
-- part 38 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=245 top=97 right=113 bottom=311
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Deli
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Deli"
end mouseUp
-- part 39 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=409 top=104 right=121 bottom=481
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Continental
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to card id 8168
end mouseUp
-- part 40 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=409 top=104 right=121 bottom=481
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Continental
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Continental"
end mouseUp
-- part 41 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=325 top=111 right=128 bottom=395
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Chinese
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Chinese"
end mouseUp
-- part 42 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=244 top=119 right=134 bottom=311
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: California
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "California"
end mouseUp
-- part 43 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=412 top=126 right=143 bottom=477
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cajun
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Cajun"
end mouseUp
-- part 44 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=326 top=133 right=150 bottom=393
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Barbecue
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Barbecue"
end mouseUp